package com.sneakxy.mybase4j.platform.provider;

import com.alibaba.dubbo.config.annotation.Service;

import com.sneakxy.mybase4j.base.provider.BaseProvider;

import com.sneakxy.mybase4j.platform.beans.LauncherSetting;
import com.sneakxy.mybase4j.platform.beans.LauncherSettingId;

import com.sneakxy.mybase4j.platform.provider.ILauncherSettingProvider;

import com.sneakxy.mybase4j.platform.repository.LauncherSettingRepository;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * 
 * @author 潜行的青衣
 * @see
 */
@Service(version = "1.0.0", interfaceClass = ILauncherSettingProvider.class)
@org.springframework.stereotype.Service
public class LauncherSettingProvider extends BaseProvider<LauncherSetting, LauncherSettingId, LauncherSettingRepository> implements ILauncherSettingProvider {

	@Autowired
	public LauncherSettingProvider(LauncherSettingRepository repository) {
		super(repository);
	}

	/* (non-Javadoc)
	 * @see com.sneakxy.mybase4j.platform.provider.ILauncherSettingProvider#deleteByLid(java.lang.String)
	 */
	@Override
	public long deleteByLid(String lid) {
		return this.getRepository().deleteByLid(lid);
	}

}
